$OpenBSD: patch-setup_py,v 1.2 2017/05/16 14:57:28 shadchin Exp $
Index: setup.py
--- setup.py.orig
+++ setup.py
@@ -32,17 +32,17 @@ def prepare_modules():
     make_c_files()
     ext = [Extension("bottleneck.reduce",
                      sources=["bottleneck/src/reduce.c"],
-                     extra_compile_args=['-O2'])]
+                     extra_compile_args=[])]
     ext += [Extension("bottleneck.move",
                       sources=["bottleneck/src/move.c",
                                "bottleneck/src/move_median/move_median.c"],
-                      extra_compile_args=['-O2'])]
+                      extra_compile_args=[])]
     ext += [Extension("bottleneck.nonreduce",
                       sources=["bottleneck/src/nonreduce.c"],
-                      extra_compile_args=['-O2'])]
+                      extra_compile_args=[])]
     ext += [Extension("bottleneck.nonreduce_axis",
                       sources=["bottleneck/src/nonreduce_axis.c"],
-                      extra_compile_args=['-O2'])]
+                      extra_compile_args=[])]
     return ext
 
 
